package cn.lanqiao.entity;

import java.io.Serializable;

/**
 * 学生表（存放学生信息）
 * @author yejun
 */

public class Student implements Serializable {

	private static final long serialVersionUID = 1L;
	
	//学生ID
	private Integer studentId;
	//学生姓名
	private String studentName;
	//学生年级
	private String grade;
	//学生班级
	private String studentClass;
	//学生专业
	private String major;
	//学生学院
	private String institute;
	//学生电话号码
	private String tel;
	//学生电子邮件
	private String email;
	//学生账号密码
	private String pwd;
	//学生身份证号
	private String cardId;
	//性别
	private String sex;
	//学生角色
	private String role = "2" ;
	
	public Student() {

	}

	public Student(String studentName, String grade, String studentClass, String major, String institute, String tel,
			String email, String pwd, String cardId, String sex) {
		super();
		this.studentName = studentName;
		this.grade = grade;
		this.studentClass = studentClass;
		this.major = major;
		this.institute = institute;
		this.tel = tel;
		this.email = email;
		this.pwd = pwd;
		this.cardId = cardId;
		this.sex = sex;
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getStudentClass() {
		return studentClass;
	}

	public void setStudentClass(String studentClass) {
		this.studentClass = studentClass;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getInstitute() {
		return institute;
	}

	public void setInstitute(String institute) {
		this.institute = institute;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getRole() {
		return role;
	}
	
	
}
